*/
-typedef struct _GtkLayoutChild GtkLayoutChild;
+typedef struct _LayoutChild LayoutChild;
typedef struct
{
GList *children;
} GtkLayoutPrivate;
-struct _GtkLayoutChild {
+struct _LayoutChild {
GtkWidget *widget;
gint x;
gint y;
g_object_notify (G_OBJECT (layout), "vadjustment");
}
-static GtkLayoutChild*
+static LayoutChild *
get_child (GtkLayout *layout,
GtkWidget *widget)
{
children = priv->children;
while (children)
{
- GtkLayoutChild *child;
+ LayoutChild *child;
child = children->data;
children = children->next;
gint y)
{
GtkLayoutPrivate *priv = gtk_layout_get_instance_private (layout);
- GtkLayoutChild *child;
+ LayoutChild *child;
g_return_if_fail (GTK_IS_LAYOUT (layout));
g_return_if_fail (GTK_IS_WIDGET (child_widget));
- child = g_new (GtkLayoutChild, 1);
+ child = g_new (LayoutChild, 1);
child->widget = child_widget;
child->x = x;
gboolean change_y,
gint y)
{
- GtkLayoutChild *child;
+ LayoutChild *child;
child = get_child (layout, widget);
GValue *value,
GParamSpec *pspec)
{
- GtkLayoutChild *layout_child;
+ LayoutChild *layout_child;
layout_child = get_child (GTK_LAYOUT (container), child);
while (tmp_list)
{
- GtkLayoutChild *child = tmp_list->data;
+ LayoutChild *child = tmp_list->data;
GtkAllocation allocation;
GtkRequisition requisition;
GtkLayout *layout = GTK_LAYOUT (container);
GtkLayoutPrivate *priv = gtk_layout_get_instance_private (layout);
GList *tmp_list;
- GtkLayoutChild *child = NULL;
+ LayoutChild *child = NULL;
tmp_list = priv->children;
while (tmp_list)
{
GtkLayout *layout = GTK_LAYOUT (container);
GtkLayoutPrivate *priv = gtk_layout_get_instance_private (layout);
- GtkLayoutChild *child;
+ LayoutChild *child;
GList *tmp_list;
tmp_list = priv->children;